# -*- coding: utf-8 -*-
# @Time    : 2023/6/5 10:10
# @Author  : hy
# @Email   : 1596096369@qq.com
# @File    : privacy_policy_page.py
# @Software: PyCharm
from pages.base_page import BasePage
from appium.webdriver.common.mobileby import MobileBy as By

class PrivacyPolicyPage(BasePage):
    privacy_policy_locater = (By.XPATH,'//*[@text="隐私政策"]')
    #获取隐私政策标题文本
    def get_privacy_policy(self):
        return self.find_element(self.privacy_policy_locater).text